﻿@model Janus.Mes.VO.SysConfigVO
@{
    Layout = null;
}
<form id="pagerForm" action="Quality/ProcessCheck/Dept">
    <input type="hidden" name="pageNum" value="1">
    <input type="hidden" name="numPerPage" value="${model.numPerPage}">
    <input type="hidden" name="orderField" value="${param.orderField}">
    <input type="hidden" name="orderDirection" value="${param.orderDirection}">
    <input type="hidden" name="name" value=""><input type="hidden" name="manager" value=""><input type="hidden" name="leader" value=""><input type="hidden" name="parentOrg.name" value="">
</form>
<div class="pageHeader">
    <form rel="pagerForm" method="post" action="Quality/ProcessCheck/Dept" onsubmit="return dwzSearch(this, 'dialog');">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>部门名称:</label>
                    <input class="textInput" name="name" value="" type="text">
                </li>
                <li>
                    <label>部门编号:</label>
                    <input class="textInput" name="manager" value="" type="text">
                </li>
                <li>
                    <label>部门经理:</label>
                    <input class="textInput" name="leader" value="" type="text">
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
                    <li><div class="button"><div class="buttonContent"><button type="button" multlookup="deptId" warn="请选择部门">选择带回</button></div></div></li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent j-resizeGrid" style="width: 806px;">

    <div class="grid">
        <div class="gridHeader">
            <div class="gridThead">
                <table style="width:786px;">
                    <thead>
                        <tr>
                            <th style="width: 24px;"><div class="gridCol" title=""><input type="checkbox" class="checkboxCtrl" group="deptId"></div></th>
                            <th orderfield="name" style="width: 149px; cursor: pointer;" class=""><div class="gridCol" title="部门名称">部门名称</div></th>
                            <th orderfield="manager" style="width: 149px; cursor: pointer;" class=""><div class="gridCol" title="部门编号">部门编号</div></th>
                            <th orderfield="leader" style="width: 149px; cursor: pointer;" class=""><div class="gridCol" title="部门经理">部门经理</div></th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="gridScroller" layouth="118" style="width: 806px; height: 243px; overflow: auto;">
            <div class="gridTbody">
                <table style="width:786px;">
                    <tbody>
                        <tr class="">
                            <td style="width: 24px;"><div><input type="checkbox" name="deptId" value="{id:'1', name:'技术部', manager:'leader'}"></div></td>
                            <td style="width: 149px;"><div>技术部</div></td>
                            <td style="width: 149px;"><div>1001</div></td>
                            <td style="width: 149px;"><div>leader</div></td>
                        </tr>
                        <tr class="">
                            <td><div><input type="checkbox" name="deptId" value="{id:'2', name:'人事部', manager:'test'}"></div></td>
                            <td><div>人事部</div></td>
                            <td><div>1002</div></td>
                            <td><div>test</div></td>
                        </tr>
                        <tr class="">
                            <td><div><input type="checkbox" name="deptId" value="{id:'3', name:'销售部', manager:'test'}"></div></td>
                            <td><div>人事部</div></td>
                            <td><div>1002</div></td>
                            <td><div>test</div></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="resizeMarker" style="height:300px; left:57px;display:none;"></div><div class="resizeProxy" style="height:300px; left:377px;display:none;"></div>
    </div>

    <div class="panelBar">
        <div class="pages">
            <span>每页</span>

            <select name="numPerPage" onchange="dwzPageBreak({targetType:'dialog', numPerPage:'10'})">
                <option value="10" selected="selected">10</option>
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
            </select>
            <span>条，共2条</span>
        </div>
        <div class="pagination" targettype="dialog" totalcount="2" numperpage="10" pagenumshown="1" currentpage="1">
            <ul>
                <li class="j-first disabled">
                    <a class="first" href="javascript:;" style="display: none;"><span>首页</span></a>
                    <span class="first"><span>首页</span></span>
                </li>
                <li class="j-prev disabled">
                    <a class="previous" href="javascript:;" style="display: none;"><span>上一页</span></a>
                    <span class="previous"><span>上一页</span></span>
                </li>
                <li class="selected j-num"><a href="javascript:;">1</a></li>
                <li class="j-next disabled">
                    <a class="next" href="javascript:;" style="display: none;"><span>下一页</span></a>
                    <span class="next"><span>下一页</span></span>
                </li>
                <li class="j-last disabled">
                    <a class="last" href="javascript:;" style="display: none;"><span>末页</span></a>
                    <span class="last"><span>末页</span></span>
                </li>
                <li class="jumpto"><input class="textInput" type="text" size="4" value="1"><input class="goto" type="button" value="确定"></li>
            </ul>
        </div>
    </div>
</div>
